home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CreatingGames / Utilities / Misc / GMS / GMSDev / Includes / clib / screens_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-12-09  |  1.8 KB  |  58 lines

  1. #ifndef  CLIB_SCREENS_PROTOS_H
  2. #define  CLIB_SCREENS_PROTOS_H
  3.  
  4. /*
  5. **   $VER: screens_protos.h V0.9B
  6. **
  7. **   C prototypes.
  8. **
  9. **   (C) Copyright 1996-1997 DreamWorld Productions.
  10. **       All Rights Reserved.
  11. */
  12.  
  13. #ifndef  SYSTEM_TYPES_H
  14. #include <system/types.h>
  15. #endif
  16.  
  17. APTR AllocVideoMem(LONG Size, LONG Flags);
  18. void AutoSwitch(void);
  19. void BlankOn(void);
  20. void BlankOff(void);
  21. void FreeVideoMem(APTR MemBlock);
  22. LONG GetScrType(void);
  23. void LockVideo(struct GScreen *);
  24. void MoveBitmap(struct GScreen *);
  25. LONG MoveToFront(struct GScreen *);
  26. LONG MoveToBack(struct GScreen *);
  27. void RefreshScreen(struct GScreen *);
  28. void RemakeScreen(struct GScreen *);
  29. void ResetBitmap(struct GScreen *);
  30. struct GScreen * ReturnDisplay(void);
  31. void SwapBuffers(struct GScreen *);
  32. void Switch(void);
  33. LONG TakeDisplay(struct GScreen *);
  34. void UnlockVideo(struct GScreen *);
  35. void UpdateColour(struct GScreen *, LONG Colour, LONG Value);
  36. void WaitVBL(void);
  37. void WaitAVBL(void);
  38. void WaitRastLine(WORD LinePosition);
  39. void WaitSwitch(struct GScreen *);
  40.  
  41. /* Palette functions */
  42.  
  43. void UpdatePalette(struct GScreen *);
  44. WORD ColourMorph(struct GScreen *, WORD FadeState, WORD Speed,
  45.        LONG StartColour, LONG AmtColours, LONG SrcColour, LONG DestColour);
  46. WORD ColourToPalette(struct GScreen *, WORD FadeState, WORD Speed,
  47.        LONG StartColour, LONG AmtColours, APTR Palette, LONG RRGGBB);
  48. void ChangeColours(struct GScreen *, WORD FadeState, APTR Colours,
  49.        WORD StartColour, WORD AmtColours);
  50. WORD PaletteMorph(struct GScreen *, WORD FadeState, WORD Speed,
  51.        LONG StartColour, LONG AmtColours, APTR SrcPalette, APTR DestPalette);
  52. WORD PaletteToColour(struct GScreen *, WORD FadeState, WORD Speed,
  53.        LONG StartColour, LONG AmtColours, APTR Palette, LONG RRGGBB);
  54. void BlankColours(struct GScreen *);
  55.  
  56. #endif /* CLIB_SCREENS_PROTOS_H */
  57.  
  58.